package com.buba.matter.dao;

import com.buba.matter.pojo.Info;
import com.buba.system.pojo.Page;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
@Mapper
public interface InfoMapper {


    Long selInfoCount();

    List<Info> selInfoTable(Page<Info> page);

    Integer addInfo(Map<String, Object> map);

    Integer delInfoAll(List<String> list);

    Integer updInfo(Map<String, Object> map);

    List<Info> selMatterInfoByCondition(Map<String, Object> map);





    Long addMatterInfoByList(List<Info> list);

    List<Info> selMatterInfoItemsInfoNo(Map<String, Object> map);

    Long selCount(Map<String, Object> map);

    List<Info> selAllInfo(Map<String, Object> map);
}
